gtk4.git
5 years agoadwaita: Remove header bar border radius
Timm Bäder [Sun, 5 Jul 2020 09:03:36 +0000 (11:03 +0200)]
adwaita: Remove header bar border radius

We get this from the window node these days.

5 years agoicontheme: Indentation
Timm Bäder [Sat, 4 Jul 2020 07:26:08 +0000 (09:26 +0200)]
icontheme: Indentation

5 years agogl renderer: Ignore rounded clip that only increase the clip
Timm Bäder [Fri, 3 Jul 2020 04:41:29 +0000 (06:41 +0200)]
gl renderer: Ignore rounded clip that only increase the clip

This fixes the widget factory rendering too much.

In the widget-factory, we generally have a pretty small update area (two
spinners and a progressbar). We take the extents of that as a update
area and inital clip.

However, the first clip node we see is from the toplevel window, which
essentially increases the clip again to almost the entire window.

Fix that by ignoring such cases.

5 years agotestsuite: Fix test case indentation
Timm Bäder [Wed, 1 Jul 2020 14:22:30 +0000 (16:22 +0200)]
testsuite: Fix test case indentation

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Fri, 17 Jul 2020 03:20:20 +0000 (03:20 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

See merge request GNOME/gtk!2257

5 years agodocs: Move columns below columnview
Matthias Clasen [Fri, 17 Jul 2020 02:14:39 +0000 (22:14 -0400)]
docs: Move columns below columnview

5 years agoCosmetic docs change
Matthias Clasen [Fri, 17 Jul 2020 01:58:52 +0000 (21:58 -0400)]
Cosmetic docs change

5 years agodocs: Revise the filter docs a bit
Matthias Clasen [Fri, 17 Jul 2020 01:48:08 +0000 (21:48 -0400)]
docs: Revise the filter docs a bit

5 years agodocs: Revise sorter docs a bit
Matthias Clasen [Fri, 17 Jul 2020 01:45:11 +0000 (21:45 -0400)]
docs: Revise sorter docs a bit

5 years agobitset: try again
Matthias Clasen [Fri, 17 Jul 2020 01:44:31 +0000 (21:44 -0400)]
bitset: try again

5 years agoMerge branch 'wip/chergert/subclass-treeview' into 'master'
Matthias Clasen [Fri, 17 Jul 2020 01:05:07 +0000 (01:05 +0000)]
Merge branch 'wip/chergert/subclass-treeview' into 'master'

treeview: allow subclassing GtkTreeView

Closes #2936

See merge request GNOME/gtk!2256

5 years agodocs: Add more GtkExpression
Matthias Clasen [Fri, 17 Jul 2020 01:02:33 +0000 (21:02 -0400)]
docs: Add more GtkExpression

Make GtkExpression show up in the object
hierarchy, and add the param spec and GValue
support to the docs.

5 years agodocs: Document GtkBitsetIter
Matthias Clasen [Fri, 17 Jul 2020 00:27:00 +0000 (20:27 -0400)]
docs: Document GtkBitsetIter

5 years agodocs: Add an example
Matthias Clasen [Thu, 16 Jul 2020 23:52:08 +0000 (19:52 -0400)]
docs: Add an example

Add a small example for setting up columnview sorting.

5 years agodocs: Fix examples
Matthias Clasen [Thu, 16 Jul 2020 23:45:21 +0000 (19:45 -0400)]
docs: Fix examples

The formatting for examples in the GtkExpression
long description was messed up.

5 years agotreeview: allow subclassing GtkTreeView
Christian Hergert [Fri, 17 Jul 2020 00:06:06 +0000 (17:06 -0700)]
treeview: allow subclassing GtkTreeView

Porting code from GTK 3 without the ability to subclass GtkTreeView
directly can cause an extreme amount of pain on application developers.
It can also complicate performance when it comes to dealing with
encapsulation as the outer widget would also encapsulate the GtkScrollable
implementation from GtkTreeView, typically through GtkViewport.

Fixes #2936

5 years agodocs: Link to GtkTreeRowReference
Matthias Clasen [Thu, 16 Jul 2020 23:44:24 +0000 (19:44 -0400)]
docs: Link to GtkTreeRowReference

The list overview cross-reference table links
to all objects, except for this one.

5 years agodocs: Add GtkTreeExpander
Matthias Clasen [Thu, 16 Jul 2020 23:43:39 +0000 (19:43 -0400)]
docs: Add GtkTreeExpander

We want to link to it from various places, so it needs
to be present in the docs.

5 years agoMerge branch 'matthiasc/arrays' into 'master'
Matthias Clasen [Thu, 16 Jul 2020 23:31:31 +0000 (23:31 +0000)]
Merge branch 'matthiasc/arrays' into 'master'

Matthiasc/arrays

See merge request GNOME/gtk!2253

5 years agomultifilter: Use GdkArray for the filters
Matthias Clasen [Thu, 16 Jul 2020 17:12:25 +0000 (13:12 -0400)]
multifilter: Use GdkArray for the filters

5 years agomultisorter: Use GdkArray for the sorters
Matthias Clasen [Thu, 16 Jul 2020 16:53:29 +0000 (12:53 -0400)]
multisorter: Use GdkArray for the sorters

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Thu, 16 Jul 2020 21:03:21 +0000 (21:03 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

gtk-demo: Use better api

See merge request GNOME/gtk!2254

5 years agogtk-demo: Use better api
Matthias Clasen [Thu, 16 Jul 2020 20:24:49 +0000 (16:24 -0400)]
gtk-demo: Use better api

We have a getter for the model, lets use it.

5 years agoMerge branch 'wip/otte/for-master' into 'master'
Benjamin Otte [Thu, 16 Jul 2020 19:43:45 +0000 (19:43 +0000)]
Merge branch 'wip/otte/for-master' into 'master'

Wip/otte/for master

See merge request GNOME/gtk!2251

5 years agoMerge branch 'missing-exports' into 'master'
Matthias Clasen [Thu, 16 Jul 2020 18:52:22 +0000 (18:52 +0000)]
Merge branch 'missing-exports' into 'master'

Add missing exports for GtkColumnView methods.

See merge request GNOME/gtk!2252

5 years agolistitemmanager: Do a better job on double items
Benjamin Otte [Sun, 12 Jul 2020 05:49:53 +0000 (07:49 +0200)]
listitemmanager: Do a better job on double items

Previously, we would unparent the existing item that we were about
to reuse, and not the duplicate one.

Change that.

5 years agostringfilter: Make the constructor take an expression
Benjamin Otte [Sun, 12 Jul 2020 05:02:04 +0000 (07:02 +0200)]
stringfilter: Make the constructor take an expression

An expression is critically important for a string filter and people
should be made aware of it when constructing the filter.

5 years agogtk-demo: Don't make demos modal
Benjamin Otte [Sun, 12 Jul 2020 01:35:11 +0000 (03:35 +0200)]
gtk-demo: Don't make demos modal

That way, demo windows can be maximized and multiple demos can run at
once.

It's especially useful when using --run because the main window is
invisible then.

5 years agotestsuite: Don't be too exhaustive
Benjamin Otte [Sat, 11 Jul 2020 03:15:00 +0000 (05:15 +0200)]
testsuite: Don't be too exhaustive

The test was taking over 60s on CI, that's a but much.

5 years agotestsuite: Add a case with escaped Latin-1 code
Benjamin Otte [Fri, 10 Jul 2020 00:13:50 +0000 (02:13 +0200)]
testsuite: Add a case with escaped Latin-1 code

This came up in recent g_uri_escape() discussions.

5 years agoMerge branch 'wip/otte/vector' into 'master'
Matthias Clasen [Thu, 16 Jul 2020 18:05:43 +0000 (18:05 +0000)]
Merge branch 'wip/otte/vector' into 'master'

Arrays

See merge request GNOME/gtk!2197

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Thu, 16 Jul 2020 17:39:16 +0000 (17:39 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

See merge request GNOME/gtk!2250

5 years agoAdd missing exports for GtkColumnView methods.
Andreas Persson [Thu, 16 Jul 2020 16:58:41 +0000 (18:58 +0200)]
Add missing exports for GtkColumnView methods.

GDK_AVAILABLE_IN_ALL was missing for one method in GtkColumnView and one
in GtkColumnViewColumn.

5 years agotreesorter tests: Add a comment
Matthias Clasen [Thu, 16 Jul 2020 12:49:38 +0000 (08:49 -0400)]
treesorter tests: Add a comment

This looks like a leak, but isn't one.
Add a comment to that effect.

5 years agostringlist: Convert to array
Benjamin Otte [Fri, 3 Jul 2020 23:13:39 +0000 (01:13 +0200)]
stringlist: Convert to array

Stringlists are usually built and then never modified, and accessing
items through an array is faster.

5 years agosnapshot: Use GdkArray for the state stack
Benjamin Otte [Fri, 3 Jul 2020 02:53:50 +0000 (04:53 +0200)]
snapshot: Use GdkArray for the state stack

5 years agoarray: Add a bunch of new features
Benjamin Otte [Thu, 16 Jul 2020 14:33:14 +0000 (16:33 +0200)]
array: Add a bunch of new features

* GDK_ARRAY_BY_VALUE
  #define this to get GArray-like behavior
* gdk_array_splice (v, 0, 0, NULL, 25)
  Adding items but passing NULL as the items will zero() them.
* gdk_array_set_size()
  A nicer way to call gdk_array_splice()
* constify getters

5 years agoicontheme: Use GdkArray
Benjamin Otte [Fri, 3 Jul 2020 02:21:07 +0000 (04:21 +0200)]
icontheme: Use GdkArray

5 years agoarray: Add null-termination
Benjamin Otte [Thu, 2 Jul 2020 21:32:04 +0000 (23:32 +0200)]
array: Add null-termination

5 years agosnapshot: Port node list to GdkArray
Benjamin Otte [Thu, 2 Jul 2020 21:32:04 +0000 (23:32 +0200)]
snapshot: Port node list to GdkArray

5 years agosnapshot: Move structs into .c file
Benjamin Otte [Thu, 2 Jul 2020 20:59:40 +0000 (22:59 +0200)]
snapshot: Move structs into .c file

They aren't used anywhere else.

5 years agoRemove preallocated array code
Benjamin Otte [Thu, 2 Jul 2020 18:51:16 +0000 (20:51 +0200)]
Remove preallocated array code

Now with GdkArray, we can use that one instead.

5 years agomain: Use a GdkArray
Benjamin Otte [Thu, 2 Jul 2020 18:50:14 +0000 (20:50 +0200)]
main: Use a GdkArray

5 years agocssselector: Use GdkArray
Benjamin Otte [Thu, 2 Jul 2020 16:30:55 +0000 (18:30 +0200)]
cssselector: Use GdkArray

5 years agoAdd GdkArray
Benjamin Otte [Thu, 2 Jul 2020 15:23:09 +0000 (17:23 +0200)]
Add GdkArray

This is a scary idea where you #define a bunch of preprocessor values
and then #include "gdkarrayimpl.c" and end up with a dynamic array for
that data type.

See https://en.wikipedia.org/wiki/X_Macro for what's going on.

What are the advantages over using GArray or GPtrArray?

 * It's typesafe
   Because it works like C++ templates, we can use the actual type of
   the object instead of having to use gpointer.

 * It's one less indirection
   instead of 2 indirections via self->array->data, this array is
   embedded, so self->array is the actual data, and just one indirection
   away. This is pretty irrelevant in general, but can be very noticable
   in tight loops.

 * It's all inline
   Because the whole API is defined as static inline functions, the
   compiler has full access to everything and can (and does) optimize
   out unnecessary calls, thereby speeding up some operations quite
   significantly, when full optimizations are enabled.

 * It has more features
   In particular preallocation allows for avoiding malloc() calls, which
   can again speed up tight loops a lot.
   But there's also splice(), which is very useful when used with
   listmodels.

5 years agosortlistmodel: Remove forgotten G_PARAM_CONSTRUCT_ONLY
Benjamin Otte [Tue, 7 Jul 2020 21:18:46 +0000 (23:18 +0200)]
sortlistmodel: Remove forgotten G_PARAM_CONSTRUCT_ONLY

5 years agomultiselection tests: Plug a leak
Matthias Clasen [Thu, 16 Jul 2020 12:49:22 +0000 (08:49 -0400)]
multiselection tests: Plug a leak

g_list_model_get_item is transfer full.

5 years agofilterlistmodel tests: Plug a leak
Matthias Clasen [Thu, 16 Jul 2020 12:48:56 +0000 (08:48 -0400)]
filterlistmodel tests: Plug a leak

g_list_model_get_item is transfer full.

5 years agofilter tests: Plug a leak
Matthias Clasen [Thu, 16 Jul 2020 12:48:36 +0000 (08:48 -0400)]
filter tests: Plug a leak

g_list_model_get_item is transfer full.

5 years agoprintunixdialog: Plug a leak
Matthias Clasen [Thu, 16 Jul 2020 12:48:09 +0000 (08:48 -0400)]
printunixdialog: Plug a leak

g_list_model_get_item is transfer full.

5 years agoCosmetics
Matthias Clasen [Thu, 16 Jul 2020 12:47:59 +0000 (08:47 -0400)]
Cosmetics

5 years agoplacessidebar: Plug a leak
Matthias Clasen [Thu, 16 Jul 2020 12:47:36 +0000 (08:47 -0400)]
placessidebar: Plug a leak

g_list_model_get_item is transfer full.

5 years agofilechoosernativewin32: Plug a leak
Matthias Clasen [Thu, 16 Jul 2020 12:47:05 +0000 (08:47 -0400)]
filechoosernativewin32: Plug a leak

g_list_model_get_item is transfer full.

5 years agocolumnlistitemfactory: Plug a leak
Matthias Clasen [Thu, 16 Jul 2020 12:46:44 +0000 (08:46 -0400)]
columnlistitemfactory: Plug a leak

g_list_model_get_item is transfer full.

5 years agoapplicationaccels: Plug a leak
Matthias Clasen [Thu, 16 Jul 2020 12:46:18 +0000 (08:46 -0400)]
applicationaccels: Plug a leak

g_list_model_get_item is transfer full.

5 years agocolumviewsorter: Add an assertion
Matthias Clasen [Thu, 16 Jul 2020 11:49:18 +0000 (07:49 -0400)]
columviewsorter: Add an assertion

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Thu, 16 Jul 2020 12:52:46 +0000 (12:52 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

See merge request GNOME/gtk!2249

5 years agoinspector: Avoid losing a reference
Matthias Clasen [Thu, 16 Jul 2020 02:14:36 +0000 (22:14 -0400)]
inspector: Avoid losing a reference

This was copying the example in the treelistrowsorter
docs that the previous commit fixed, so we apply
the same fix here.

5 years agotreelistrowsorter: Fix a faulty example
Matthias Clasen [Thu, 16 Jul 2020 02:13:36 +0000 (22:13 -0400)]
treelistrowsorter: Fix a faulty example

gtk_tree_list_row_sorter_new() consumes the
sorter, so we can't pass gtk_column_view_get_sorter(),
since that is transfer none.

5 years agoinspector: Don't derive from GtkBox
Matthias Clasen [Thu, 16 Jul 2020 01:22:21 +0000 (21:22 -0400)]
inspector: Don't derive from GtkBox

We don't do that anymore. A bin layout
is sufficient here.

5 years agoinspector: Drop a Private struct
Matthias Clasen [Thu, 16 Jul 2020 00:28:05 +0000 (20:28 -0400)]
inspector: Drop a Private struct

These are really not needed in the inspector.

5 years agoinspector: Drop an unused field
Matthias Clasen [Thu, 16 Jul 2020 00:24:00 +0000 (20:24 -0400)]
inspector: Drop an unused field

5 years agoUpdate Greek translation
Efstathios Iosifidis [Wed, 15 Jul 2020 18:12:26 +0000 (18:12 +0000)]
Update Greek translation

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Wed, 15 Jul 2020 16:52:05 +0000 (16:52 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

inspector: Use substring matching in the property list

See merge request GNOME/gtk!2247

5 years agoinspector: Use substring matching in the property list
Matthias Clasen [Wed, 15 Jul 2020 15:29:06 +0000 (11:29 -0400)]
inspector: Use substring matching in the property list

This is convenient for things like "set both hexpand and
vexpand", since you can then search for "expand"

5 years agoUpdate Romanian translation
Florentina Mușat [Wed, 15 Jul 2020 08:58:58 +0000 (08:58 +0000)]
Update Romanian translation

5 years agoMerge branch 'wip/jimmac/file-dialog-sidebar-color' into 'master'
Matthias Clasen [Wed, 15 Jul 2020 01:41:35 +0000 (01:41 +0000)]
Merge branch 'wip/jimmac/file-dialog-sidebar-color' into 'master'

Adwaita: sidebar color for file picker

See merge request GNOME/gtk!2242

5 years agoMerge branch 'wip/fix-picom-crasher' into 'master'
Matthias Clasen [Wed, 15 Jul 2020 01:40:49 +0000 (01:40 +0000)]
Merge branch 'wip/fix-picom-crasher' into 'master'

x11: Don't set up frame sync fence on unsupported compositors

Closes #2927

See merge request GNOME/gtk!2245

5 years agoMerge branch 'idle-inhibit' into 'master'
Matthias Clasen [Wed, 15 Jul 2020 01:38:55 +0000 (01:38 +0000)]
Merge branch 'idle-inhibit' into 'master'

Add support for idle inhibition on Wayland

Closes #2202

See merge request GNOME/gtk!2226

5 years agoMerge branch 'shortcuts-section-reflow-fix' into 'master'
Matthias Clasen [Wed, 15 Jul 2020 01:38:38 +0000 (01:38 +0000)]
Merge branch 'shortcuts-section-reflow-fix' into 'master'

Fix shortcuts section reflow

Closes #2928

See merge request GNOME/gtk!2246

5 years agogtk/wayland: Add support for idle inhibition in GtkApplication
Emmanuel Gil Peyrot [Fri, 10 Jul 2020 13:53:05 +0000 (15:53 +0200)]
gtk/wayland: Add support for idle inhibition in GtkApplication

This feature was previously only supported on DBus compositors, such as
Mutter, this adds support for other compositors such as all of those
based on wlroots.

This implementation prefers the idle-inhibit Wayland protocol to the
DBus version if it is available, since the inhibitor is per-surface
instead of global it allows a finer control over which displays get
dimmed for instance.  For every case not supported by this protocol, a
fallback to the DBus version is used.

It can’t do anything if the GtkWindow isn’t passed, which might warrant
some documentation change to encourage users to not use NULL for this
argument.

This has been tested on Sway.

Fixes #2202.

5 years agogdk/wayland: Add an API to inhibit and uninhibit idle
Emmanuel Gil Peyrot [Tue, 14 Jul 2020 19:18:03 +0000 (21:18 +0200)]
gdk/wayland: Add an API to inhibit and uninhibit idle

This uses the idle-inhibit protocol from wayland-protocols, to attach an
inhibitor to the GdkSurface.  The inhibit function can be called as many
times as the user wants, but the uninhibit function MUST be called as
many times to unset the idle inhibition.

This has been tested on Sway.

5 years agoFix shortcuts section reflow
Matthias Clasen [Tue, 14 Jul 2020 18:47:23 +0000 (14:47 -0400)]
Fix shortcuts section reflow

When this code was ported from gtk_container_get_children
to the dom api, we inadvertendly inverted the order of the
list in one place. With the dom api, we can just avoid
reversing lists altogether, so do that.

Fixes: #2928
5 years agox11: Don't set up frame sync fence on unsupported compositors
Ray Strode [Tue, 14 Jul 2020 13:40:34 +0000 (09:40 -0400)]
x11: Don't set up frame sync fence on unsupported compositors

Not all compositors support _NET_WM_FRAME_DRAWN.  In cases
where the compositor doesn't support _NET_WM_FRAME_DRAWN we don't
need to do all the fancy damage tracking and fence watching.

Furthermore, if the compositor doesn't support _NET_WM_FRAME_DRAWN,
it's possible that one frame will start before the previous frame has
made it through the pipeline, leading to a blown assertion.

This commit side-steps the unnecessary code and associated assertion
when _NET_WM_FRAME_DRAWN isn't supported.

Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/2927
5 years agoUpdate Romanian translation
Florentina Mușat [Tue, 14 Jul 2020 14:52:19 +0000 (14:52 +0000)]
Update Romanian translation

5 years agoMerge branch 'wip/jimmac/large-title-letterspacing' into 'master'
Matthias Clasen [Tue, 14 Jul 2020 11:47:36 +0000 (11:47 +0000)]
Merge branch 'wip/jimmac/large-title-letterspacing' into 'master'

Adwaita: revert letter-spacing for large-title

Closes #2932

See merge request GNOME/gtk!2243

5 years agoUpdate Ukrainian translation
Yuri Chornoivan [Tue, 14 Jul 2020 10:33:34 +0000 (10:33 +0000)]
Update Ukrainian translation

5 years agoAdwaita: revert letter-spacing for large-title
Jakub Steiner [Tue, 14 Jul 2020 10:24:25 +0000 (12:24 +0200)]
Adwaita: revert letter-spacing for large-title

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/2932

5 years agoAdwaita: sidebar color for file picker
Jakub Steiner [Mon, 13 Jul 2020 14:01:01 +0000 (16:01 +0200)]
Adwaita: sidebar color for file picker

- use menu like hovers and desaturated selected_bg_color

Partially addresses https://gitlab.gnome.org/GNOME/gtk/-/issues/1586

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Tue, 14 Jul 2020 02:43:25 +0000 (02:43 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

See merge request GNOME/gtk!2241

5 years agoinspector: Show some information about expressions
Matthias Clasen [Tue, 14 Jul 2020 00:49:56 +0000 (20:49 -0400)]
inspector: Show some information about expressions

This is not too useful, but better than nothing.

5 years agoexpression: Add some introspection
Matthias Clasen [Tue, 14 Jul 2020 00:19:07 +0000 (20:19 -0400)]
expression: Add some introspection

Add a few apis to peek inside expressions, mainly
for the benefit of GtkInspector and similar uses.

5 years agogtk-demo: Make the words demo expand
Matthias Clasen [Mon, 13 Jul 2020 21:54:27 +0000 (17:54 -0400)]
gtk-demo: Make the words demo expand

We want to fill the window here.

5 years agoinspector: Ellipsize in the object tree
Matthias Clasen [Mon, 13 Jul 2020 21:32:52 +0000 (17:32 -0400)]
inspector: Ellipsize in the object tree

We don't want a long label to blow up the width
of the inspector window.

5 years agoinspector: Fix up input enum names
Matthias Clasen [Mon, 13 Jul 2020 21:13:43 +0000 (17:13 -0400)]
inspector: Fix up input enum names

We've recently added and removed a few values in these
enumerations. Keep the names in sync, so we don't show
nonsense.

5 years agoNEWS: Updates and fixes
Matthias Clasen [Mon, 13 Jul 2020 20:54:05 +0000 (16:54 -0400)]
NEWS: Updates and fixes

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Mon, 13 Jul 2020 20:48:08 +0000 (20:48 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

See merge request GNOME/gtk!2240

5 years agotreeexpander: Be focusable
Matthias Clasen [Mon, 13 Jul 2020 19:06:35 +0000 (15:06 -0400)]
treeexpander: Be focusable

We need to be focusable so that we can take focus
if the child doesn't.

5 years agosearchbar: Set a focus vfunc
Matthias Clasen [Mon, 13 Jul 2020 19:06:08 +0000 (15:06 -0400)]
searchbar: Set a focus vfunc

We don't want to take focus ourselves here.

5 years agoMerge branch 'wip/jimmac/file-dialog-sidebar-color' into 'master'
Matthias Clasen [Mon, 13 Jul 2020 16:31:07 +0000 (16:31 +0000)]
Merge branch 'wip/jimmac/file-dialog-sidebar-color' into 'master'

Adwaita: sidebar color for file picker

Closes #1586

See merge request GNOME/gtk!2238

5 years agoAdwaita: sidebar color for file picker
Jakub Steiner [Mon, 13 Jul 2020 14:01:01 +0000 (16:01 +0200)]
Adwaita: sidebar color for file picker

- avoid using the selected blue for the sidebar

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/1586

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Mon, 13 Jul 2020 14:38:03 +0000 (14:38 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

See merge request GNOME/gtk!2236

5 years agoMerge branch 'wip/carlosg/windowhandle-gesture-state' into 'master'
Matthias Clasen [Mon, 13 Jul 2020 14:32:06 +0000 (14:32 +0000)]
Merge branch 'wip/carlosg/windowhandle-gesture-state' into 'master'

gtkwindowhandle: Only claim gesture on action

See merge request GNOME/gtk!2237

5 years agoUpdate Ukrainian translation
Yuri Chornoivan [Mon, 13 Jul 2020 14:18:40 +0000 (14:18 +0000)]
Update Ukrainian translation

5 years agogtkwindowhandle: Only claim gesture on action
Carlos Garnacho [Mon, 13 Jul 2020 13:44:58 +0000 (15:44 +0200)]
gtkwindowhandle: Only claim gesture on action

The press gesture does not need to set claimed state just for n-press
tracking, it will however reset all other click gestures on each press
if the event gets propagated all the way up.

Fixes tracking of multi-press in gestures in widgets that are children
of the window handle. E.g. the headerbar listview in the "File browser"
gtk4-demo demo.

5 years agoGive the inspector a devel header too
Matthias Clasen [Mon, 13 Jul 2020 12:26:20 +0000 (08:26 -0400)]
Give the inspector a devel header too

Lets clearly communicate that we're unstable.

5 years agoprint-editor: Set the devel style class
Matthias Clasen [Mon, 13 Jul 2020 12:23:39 +0000 (08:23 -0400)]
print-editor: Set the devel style class

Lets clearly communicate that we're unstable.

5 years agoIntegrate the new icons
Matthias Clasen [Mon, 13 Jul 2020 11:29:03 +0000 (07:29 -0400)]
Integrate the new icons

Install and use the node-editor and print-editor icons.

5 years agodemos: icons for Print and Node Editors
Jakub Steiner [Mon, 13 Jul 2020 09:57:14 +0000 (11:57 +0200)]
demos: icons for Print and Node Editors

- probably needs meson build hooks

5 years agoUpdate POTFILES.in
Piotr Drąg [Mon, 13 Jul 2020 11:17:37 +0000 (13:17 +0200)]
Update POTFILES.in